<?php
    echo $this->get_tag("form", array("class" => "app_form","method"=>"post","action"=>$this->baseurl("/member/change-password")));
    echo $this->callElement("default/tools/tool_bar",array("buttons"=>array( array("type"=>"back"),array("type"=>"save")) ,"title" => "Change Password")); 
    
    if( !empty($message)){ echo $this->callElement('default/tools/message', array('caption' =>'Message','type' => $message['type'], 'message' => $message['msg']));}

    echo $this->get_tag('ul');
            echo App::Load("Helper/Html")->get_from_row("Old password", App::Load("Helper/Html")->passwordTag("data[Member][old_password]","",array("id"=>"old_password","class"=>"app_input")) );
            echo App::Load("Helper/Html")->get_from_row("New password", App::Load("Helper/Html")->passwordTag("data[Member][new_password]","",array("id"=>"old_password","class"=>"app_input")) );
            echo App::Load("Helper/Html")->get_from_row("Confirm Newpassword", App::Load("Helper/Html")->passwordTag("data[Member][re_new_password]","",array("id"=>"old_password","class"=>"app_input")) );
    echo $this->get_tag('/ul');

    echo $this->callElement("default/tools/tool_bar",array("buttons"=>array(array("type"=>"back"),array("type"=>"save")) ,"title" => NULL)); 
    echo $this->get_tag("/form");
?>